package com.medical.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;


/*
 * @Date : 2024/4/26 16:36
 * @Created by Lang
 * @ProjectName : medical-appointment-registration
 */
    
@Data
@TableName(value = "mar_role")
public class Role {
    /**
     * 主键
     */
    @TableId(value = "mar_role_id", type = IdType.AUTO)
    private Integer marRoleId;

    /**
     * 角色名
     */
    @TableField(value = "mar_role_name")
    private String marRoleName;

    /**
     * 角色下的人数
     */
    @TableField(value = "mar_role_count")
    private Integer marRoleCount;

    /**
     * 角色描述：权限
     */
    @TableField(value = "mar_role_detail")
    private String marRoleDetail;

    /**
     * 角色状态：0禁用 1启用
     */
    @TableField(value = "mar_role_status")
    private Integer marRoleStatus;

    /**
     * 添加时间
     */
    @TableField(value = "mar_role_create_time")
    private Date marRoleCreateTime;

    public static final String COL_MAR_ROLE_ID = "mar_role_id";

    public static final String COL_MAR_ROLE_NAME = "mar_role_name";

    public static final String COL_MAR_ROLE_COUNT = "mar_role_count";

    public static final String COL_MAR_ROLE_DETAIL = "mar_role_detail";

    public static final String COL_MAR_ROLE_STATUS = "mar_role_status";

    public static final String COL_MAR_ROLE_CREATE_TIME = "mar_role_create_time";
}